package cc.linker.steplink.crm.domain;

/**
 * @Description: 推送频次
 * @Author: wuhangfeng
 * @Date: Created in 2019/9/9 19:20
 * @Version: 1.8.3
 */
public enum CustomerPushRate {

    //2:2天;4:4天;7:7天;14:14天;21:21天;30:30天;
    Two(2),Four(4),Seven(7),Fourteen(14),TwentyOne(21),Thirty(30);

    private int rate;

    CustomerPushRate(int rate){
        this.rate=rate;
    }

    public boolean equal(int day){
        return rate==day;
    }
}
